<!-- Footer -->
<footer>
  <div class="container">
    <div class="row">
      <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
        <!-- SNS Link -->
        <!-- {% include sns-links.html center=true %} -->
        <p class="copyright">
          &copy; <a href="https://github.com/Renovamen" target="_blank">Renovamen</a> 2018-2020
          <br>
          Powered by <a href="https://jekyllrb.com/" target="_blank">Jekyll</a> & <a href="https://github.com/Renovamen/jekyll-theme-gungnir" target="_blank">Gungnir</a>
        </p>
      </div>
    </div>
  </div>
</footer>

<!-- add dark / light mode switcher -->
{% include mode.html %}


{%- include utils/get-assets-baseurl.html -%}
{%- assign _assets_baseurl = __return -%}


<!-- Theme JavaScript -->
<script src="{{ "/js/gungnir/gungnir.min.js" | prepend: _assets_baseurl }}"></script>


<!-- Service Worker -->
{% if site.service-worker %}
<script src="{{ "/js/gungnir/sw-registration.js" | prepend: _assets_baseurl }}"></script>
<script src="{{ "/js/gungnir/snackbar.js" | prepend: _assets_baseurl }}"></script>
{% endif %}


{% if page.title == 'Archive' %}
<!-- jquery.tagcloud.js -->
<script>
  $.fn.tagcloud.defaults = {
    //size: {start: 1, end: 1, unit: 'em'},
    color: {start: '#a5a5e4', end: '#4388c4'},
  };
  $('#tag_cloud a').tagcloud();
</script>
<script src="{{ "/js/gungnir/archive.js" | prepend: _assets_baseurl }}"></script>
{% endif %}


<!--fastClick.js -->
<script>
  var $nav = document.querySelector("nav");
  if($nav) FastClick.attach($nav);
</script>


<!-- Google Analytics -->
{% if site.analytics.ga_track_id %}
  {% include analytics/google.html %}
{% endif %}


<!-- Baidu Tongji -->
{% if site.analytics.ba_track_id %}
  {% include analytics/baidu.html %}
{% endif %}


<!-- Multi-Lingual -->
{% if page.multilingual %}
  {% include multilingual/script.html %}
{% endif %}
